<!DOCTYPE html>

<html lang="en">

<head>

    {include file="public/meta" /}

    {include file="public/link" /}

</head>

<body data-type="index" class="theme-white">

<div class="am-g tpl-g">

    {include file="public/header" /}

    {include file="public/left" /}

    {include file="public/content_top" /}

    <ol class="am-breadcrumb">

        <li><a href="../home/index.html" class="am-icon-home">首页</a></li>

        <li><a href="#">监控后台</a></li>

        <li class="am-active">资金监控</li>
    </ol>
    <div class="widget am-cf">

            <div class="am-form-inline" role="form">

            <!-- <span>：</span> -->

            <!-- <div class="am-form-group ">

                <input type="text" class="am-form-field am-input-sm" name="start" placeholder="请选择起始日期"

                       data-am-datepicker onfocus="this.blur()" value="{$arr.start_query}"/>

            </div>

            <div class="am-form-group ">

                <input type="text" class="am-form-field am-input-sm" name="end" placeholder="请选择结束日期" data-am-datepicker  onfocus="this.blur()" value="{$arr.end_query}"/>

            </div>
 -->
            <div class="am-form-group ">

                <input type="text" id="name" class="am-form-field am-input-sm" placeholder="请输入查询内容"  value="{$arr.name}"/>

            </div>

            <button type="button" class="am-btn am-btn-primary am-btn-sm" onclick="info_query()">查询</button>

            <button type="button" class="am-btn am-btn-warning am-btn-sm" onclick="clear_query()">清除查询</button>

        </div>

    <hr data-am-widget="divider" class="am-divider am-divider-default"/>

    <div class="widget-body widget-body-lg am-fr">

        <div class="am-scrollable-horizontal">

            <table class="{$table}">

                <thead>
                    <tr>
                        <th>手机号</th>
                        <th>账户名</th>
                        <th>总资产</th>
                        <!-- <th>保证金</th>
                        <th>开仓价格</th> -->
                        <th>资金余额</th>
                        <!-- <th>综合费</th> -->
                       <!--  <th>累计出金</th>
                        <th>浮动盈亏</th>
                        <th>清算盈亏</th> -->
                        <th>代理商</th>
                        <th>推荐人</th>
                        <th>登录IP</th>
                        <th>时间</th>
                        <!-- <th>操作</th> -->
                    
                    </tr>
                </thead>
                <tbody id="list">
                    {foreach $list as $val}
                    <tr class="text-c">
                        <td>{$val.user.phone}</td>
                        <td>{$val.user.name}</td>
                        <td>{$val.account.account}</td>
                        <!-- <td>{val.direction}</td>
                        <td>{val.average}</td> -->
                        <td>{$val.balance}</td>
                        <!-- <td>{val.finish}</td> -->
                        <!-- <td>{val.profit}</td>
                        <td>{val.loss}</td>
                        <td>{val.bond}</td> -->
                        <td>{$val.agent}</td>
                        <td>{$val.user.reid}</td>
                        <td>{$val.user.login_ip}</td>
                        <td>{$val.time}</td>
                       <!--  <td>
                            <a href="">冻结</a>
                            <a href="">限制开仓</a>
                        </td> -->
                    </tr>
                    {/foreach}
                    <!-- <tr>
                        <th colspan="5"></th>
                        <th>{bond}</th>
                        <th>{number}</th>
                        <th>{increase_bond}</th>
                        <th colspan="1"></th>
                        <th>{sum_fee}</th>
                        <th colspan="1"></th>
                        <th>{total}</th>
                        <th colspan="1"></th>
                    </tr>   -->
                </tbody>
            </table>

            <div class="am-pagination-left">{$page}</div>

        </div>

    </div>

</div>

</div>

{include file="public/foot" /}

<script type="text/javascript">
    
   $(function () {
        var nav = $('.left-sidebar li.sidebar-nav-link');
        nav.removeClass("active");
        nav.eq({$a}).find('ul').show();
        nav.eq({$a}).find('ul li').eq({$b}).find('a').addClass('active');
    });

</script>

</body>

</html>
